package com.carsite.service.impl;

import java.util.List;

import com.carsite.dao.LookupDao;
import com.carsite.service.LookupManager;


/**
 * Implementation of LookupManager interface to talk to the persistence layer.
 *
 * <p><a href="LookupManagerImpl.java.html"><i>View Source</i></a></p>
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public class LookupManagerImpl extends BaseManager implements LookupManager {
    //~ Instance fields ========================================================

    private LookupDao dao;

    //~ Methods ================================================================

    public void setLookupDao(LookupDao dao) {
        super.dao = dao;
        this.dao = dao;
    }
    /**
     * @see com.carsite.service.LookupManager#getAllRoles()
     */
    public List getAllRoles() {
       
        List roles = dao.getRoles();
       
        return roles;
        
        
    }
}
